function renderHeader(value, cellmeta, record, rowIndex, columnIndex, store) {
	var fieldName = cm.getDataIndex(columnIndex);
	if (fieldName == 'CARSQ_UNIT') {
		var resultString = String.format('<b><a href="' + context
						+ '/app/car/sqview.jsp?id={0}">{1}</a></b>',
				record.data['CARSQ_ID'], value);

		return resultString;
	} else if (fieldName == 'CARSQ_DATE') {
		return formatDate(value);
	} else if (fieldName == 'CARSQ_STATUS') {
		if (value == '0') {
			return '待审批';
		} else if (value == '1') {
			return '审批通过';
		} else if (value == '-1') {
			return '审批未通过';
		}
	} else if (fieldName == 'SP') {
		var str = '<a href="javascript:handleStemp(\''
				+ record.data['CARSQ_ID'] + '\');">分配油票</a>';

		return str;
	}
	return value;
}

/**
 * 修改状态
 */
function handleStemp(id) {
	document.location = context + '/app/car/carstemp.jsp?id=' + id;
}